home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / fontutil.6 / fontutil / fontutils-0.6 / imageto / ChangeLog < prev    next >
Encoding:
Text File  |  1992-10-27  |  36.7 KB  |  1,005 lines

  1. Tue Oct 27 13:02:04 1992  Karl Berry  (karl@cs.umb.edu)
  2.  
  3.     * Version 0.6.
  4.  
  5. Sat Oct 24 05:13:02 1992  Karl Berry  (karl@cs.umb.edu)
  6.  
  7.     * ifi.c (read_ifi_file): Just do successive character codes if we
  8.     don't have an encoding file.
  9.         * main.c (USAGE): Change doc.
  10.  
  11. Fri Oct 23 10:43:46 1992  Karl Berry  (karl@cs.umb.edu)
  12.  
  13.     * out-chars.c (output_chars): Free the bounding box list we construct.
  14.  
  15.     * out-chars.c (output_chars): If the IFI struct says no bounding
  16.     boxes, don't read any of the bitmap, and reconsider the current bb.
  17.  
  18. Tue Oct 20 17:17:26 1992  Karl Berry  (karl@cs.umb.edu)
  19.  
  20.     * GNUmakefile (install): Make the second arg a file, not a directory.
  21.  
  22. Fri Oct 16 15:40:53 1992  Karl Berry  (karl@cs.umb.edu)
  23.  
  24.     * out-epsf.c: Doc fix.
  25.  
  26. Mon Oct  5 09:31:30 1992  Karl Berry  (karl@cs.umb.edu)
  27.  
  28.     * main.c (read_command_line): Make -print-clean-info imply -verbose.
  29.         (main): Remove now-redundant test for `print_clean_info'.
  30.  
  31.     * out-chars.c (write_image_chars): Only report "+" if we have to
  32.     keep reading vertically, not horizontally.
  33.         (do_image_line): Remove the report from here.
  34.  
  35. Sun Oct  4 08:59:55 1992  Karl Berry  (karl@cs.umb.edu)
  36.  
  37.     * out-chars.c (write_image_chars): Don't keep adding to
  38.     `row_height' for appended image rows, just assign.
  39.  
  40.     * main.c (main): Test for zero resolution here.
  41.         (set_input_format): Not here.
  42.  
  43.     * out-chars.c (clean_threshold): Remove.
  44.         * out-chars.h: Likewise.
  45.         * main.c (USAGE, read_command_line): And here.
  46.  
  47.     * out-chars.c (bb_equal_p): New fn.
  48.  
  49.     * out-chars.c (offset_bb_list): Function moved here from bb-outline.c.
  50.  
  51.     * out-chars.c (clean_bitmap): Rewrite to take a list of known
  52.     boxes, and remove those that aren't in the list.
  53.         (output_chars): Only call `clean_bitmap' once, after we've
  54.         combined everything.
  55.         (image_to_bitmap_bbs): New fn.
  56.  
  57. Sat Oct  3 13:54:39 1992  Karl Berry  (karl@cs.umb.edu)
  58.  
  59.     * out-chars.c (write_image_chars): Don't abort if the image ends
  60.     prematurely, just give a warning and return.
  61.  
  62.     * out-chars.c (OUTPUT_CHAR_P): New macro.
  63.         (output_chars): Use it, instead of repeating the same expr several
  64.         times.
  65.  
  66. Fri Oct  2 16:14:03 1992  Karl Berry  (karl@cs.umb.edu)
  67.  
  68.     * out-chars.[ch]: New files constructed from main.[ch].
  69.         * main.c: Include out-chars.h.
  70.  
  71.     * extract.c (REPORT_SCANLINE): use REPORT.
  72.  
  73.     * main.c (-info-filename): remove this option.
  74.  
  75.     * {epsf,strips}.[ch]: Rename to out-*.
  76.     * GNUmakefile (c_and_h): Likewise.
  77.  
  78.     * ifi.[ch]: New files constructed from image-char.[ch] and main.c.
  79.         * main.c: include ifi.h.
  80.         (extract_chars): Change call to read_ifi_file.
  81.         * GNUmakefile (c_and_h): add `ifi', remove `image-char'.
  82.  
  83. Mon Sep 28 11:11:59 1992  Karl Berry  (karl@cs.umb.edu)
  84.  
  85.     * main.c: change `fprintf (stderr's to use REPORT*.
  86.  
  87.     * main.c (clean_bitmap): print the size of the bounding box being
  88.     cleaned, not that of the enclosing character.  (halvers@sol.crd.ge.com)
  89.  
  90. Tue Sep 22 13:01:54 1992  Karl Berry  (karl@cs.umb.edu)
  91.  
  92.         * main.c (read_ifi_file): call make_suffix to make the default IFI
  93.           filename, instead of appending to the root.
  94.         (input_rootname): remove.
  95.         (main): don't assign to input_rootname; just set output_name to
  96.           the fn call.
  97.         (input_name): new static.
  98.  
  99.         * main.c (clean_bitmap): if clean_threshold is 1.0, do nothing;
  100.           else only clean if the gray value is > threshold, not >=.
  101.  
  102.         * main.c: make diagnostic messages consistent.
  103.  
  104.         * main.c (do_image_line): set `bb_offset' to just the width
  105.           of the previous bb, since we're already incorporating the
  106.           interbb whitespace in the second bb.
  107.  
  108. Mon Sep 21 10:32:07 1992  Karl Berry  (karl@cs.umb.edu)
  109.  
  110.         * main.c (read_command_line): new option -ifi-file, a synonym for
  111.           -info-file.
  112.         (USAGE): document it.
  113.  
  114.         * main.c (set_input_format): don't call strcmp on NULL if the
  115.           input filename lacks an extension.
  116.  
  117. Thu Sep  3 09:30:54 1992  Karl Berry  (karl@hayley)
  118.  
  119.         * Version 0.5.
  120.  
  121. Sat Aug 29 16:14:35 1992  Karl Berry  (karl@hayley)
  122.  
  123.         * GNUmakefile (dist, install): new targets to deal with strips.tex.
  124.  
  125. Fri Aug 21 16:14:10 1992  Karl Berry  (karl@hayley)
  126.  
  127.         * main.c (read_ifi_file): improve warning message.
  128.  
  129. Mon Jul 13 16:58:44 1992  Karl Berry  (karl@hayley)
  130.  
  131.         * epsf.c (write_epsf): use `width_used' for the width of image buffer.
  132.  
  133. Thu Jul  2 14:06:09 1992  Kathy Hargreaves  (kathy@hayley)
  134.  
  135.         * main.c (BB_TO_CARTESIAN): subtract IMAGE_CHAR_BASELINE_ADJUST(.)
  136.           instead of adding it.
  137.  
  138.         * main.c (bitmap_to_gf_char): removed `char_baseline'.
  139.  
  140. Sun Jun 28 11:54:23 1992  Kathy Hargreaves  (kathy@hayley)
  141.  
  142.         * main.c (bitmap_to_gf_char): added cartesian_bb; fill it using
  143.           BB_TO_CARTESIAN and assign to the GF char.  Print out the GF
  144.           char's rows for baseline adjustment.
  145.  
  146. Fri Jun 26 13:45:20 1992  Kathy Hargreaves  (kathy@hayley)
  147.  
  148.         * main.c (read_ifi_file): changed warning to include encoding name.
  149.  
  150. Mon Jun 15 07:37:29 1992  Karl Berry  (karl@hayley)
  151.  
  152.         * extract.c (get_image_row): allocate more than one row at a time.
  153.  
  154.         * extract.c (get_image_row): don't realloc if we're keeping
  155.           leading white rows.
  156.  
  157.         * main.c (extract_chars): change `nchars_per_line' to one if
  158.           `print_guidelines' is true.
  159.  
  160.         * main.c (read_ifi_file): if the character name is undefined in
  161.           the encoding, omit it from the output.
  162.  
  163.         * main.c (get_image_info): rename to `read_ifi_file'.
  164.  
  165.         * main.c (get_image_info): make `.notdef' mean omission, instead
  166.           of `-1'.
  167.  
  168.     * image-char.h (image_char_type): new field `charname'.
  169.         (IMAGE_CHARNAME): new accessor macro.
  170.         * main.c (bitmap_to_gf_char): print the character name, instead of
  171.           relying on %c.
  172.         (get_image_info): set it.
  173.  
  174.         * main.h (print_scanline): new routine.
  175.         * main.c (print_scanline): define it.
  176.         * input-img.c (img_get_scanline): print the scanlines if
  177.           `trace_scanlines' is set.
  178.         * input-pbm.c (pbm_get_scanline): call it, instead of doing the
  179.           printing inline.
  180.  
  181. Sat Jun 13 12:04:00 1992  Kathy Hargreaves  (kathy@hayley)
  182.  
  183.         * main.c (get_image_info): renamed charcode_str to charname_str.
  184.           Removed comment-handling stuff.
  185.  
  186.         * main.c (encoding_name, encoding_info): added.
  187.           (get_image_info): added `encoding_info'; call `encoding_number'
  188.           on `charcode_str' instead of `xparse_charcode'.
  189.           (USAGE, read_command_line): added -encoding option.
  190.      
  191. Tue Jun  9 13:45:42 1992  Kathy Hargreaves  (kathy@hayley)
  192.  
  193.         * main.c (output_chars): deleted clean_all_bbs.
  194.           (clean_bitmap): deleted CLEAN_ALL_BBS; call find_outline_bbs
  195.           with false instead of this.  Updated doc.  Now only check
  196.           bounding boxes which don't enclose the whole character, instead
  197.           of those which also are on the edge, unless clean_all_bbs is
  198.           true, whereupon check those also.
  199.           (get_image_info): don't handle CLEAN_ALL_BBS_FLAG anymore.
  200.  
  201.         * image-char.h (image_char_type): deleted clean_inner_bbs field.
  202.           (IMAGE_CHAR_CLEAN_ALL_BBS, CLEAN_ALL_BBS_FLAG): deleted
  203.  
  204. Mon Jun  8 12:33:45 1992  Kathy Hargreaves  (kathy@hayley)
  205.  
  206.         * input-pbm.c (pbm_get_scanline): increment scanline_count after
  207.           printing it.
  208.  
  209.         * main.c (BB_TO_CARTESIAN): added.
  210.           (bitmap_to_gf_char): when print-guidelines is true, print the
  211.           bounding box's max and min (in that order) row in Cartesian
  212.           coordinates, not the GF char's min and max row.
  213.  
  214. Fri Jun  5 21:18:12 1992  Kathy Hargreaves  (kathy@hayley)
  215.  
  216.         * main.c (output_chars): don't clean bounding boxes unless
  217.           outputting the character.
  218.  
  219.     * main.c (get_image_info): set clean_all_bbs field of `c' false if
  220.           there's not a CLEAN_ALL_BBS_FLAG at the end of the character string.
  221.  
  222. Fri Jun  5 09:19:48 1992  Karl Berry  (karl@hayley)
  223.  
  224.         * main.c (main): `return 0' instead of `exit (0)'.  (From Paul Eggert)
  225.  
  226. Tue Jun  2 18:03:52 1992  Kathy Hargreaves  (kathy@hayley)
  227.  
  228.         * main.c (output_chars): call clean_bitmap with 0's for LEFT_MARK
  229.           and RIGHT_MARK if clean_all_bbs is true.
  230.  
  231. Mon Jun  1 11:19:46 1992  Kathy Hargreaves  (kathy@hayley)
  232.  
  233.         * main.c (output_chars): added clean_all_bbs to send to clean_bitmap.
  234.  
  235.         * main.c (clean_bitmap): clean only those boxes which are on the
  236.           edges only if CLEAN_ALL_BBS is false; otherwise, clean them all.
  237.  
  238.         * main.c (get_image_info): if there's a CLEAN_ALL_BBS_FLAG appended
  239.           to the character code, then set the clean_all_bbs field of c.
  240.  
  241.         * image-char.h (image_char_type): added clean_all_bbs field.
  242.  
  243. Sun May 31 13:10:48 1992  Karl Berry  (karl@hayley)
  244.  
  245.         * main.c: rename `design-size' option to `designsize'.
  246.  
  247.         * epsf.c (write_epsf): change the EPS output to not write one
  248.           gigantic image.
  249.  
  250. Sat May 30 11:58:02 1992  Kathy Hargreaves  (kathy@hayley)
  251.  
  252.         * main.c (USAGE -clean-threshold): doc fix.
  253.  
  254. Fri May 29 11:34:52 1992  Karl Berry  (karl@hayley)
  255.  
  256.         * main.c (main): declare to return an int.
  257.  
  258. Tue May 26 07:56:34 1992  Karl Berry  (karl@hayley)
  259.  
  260.         * main.c: simplify comments on IFI file format, since now the real
  261.           documentation describes it.
  262.  
  263. Mon May 25 11:45:49 1992  Karl Berry  (karl@hayley)
  264.  
  265.         * main.c (clean_bitmap): wasn't printing clean info for bbs that
  266.           weren't cleared.
  267.  
  268.         * main.c (read_command_line): make -print-guidelines => -verbose.
  269.         (USAGE): document this.
  270.         (main): don't bother to test `print_guidelines' anymore when we
  271.           doing verbose things.
  272.  
  273.         * main.c (main): use `output_name', not `gf_name' (which we no
  274.           longer need).
  275.  
  276.         * main.c (set_{pbm,img}_input_format): set `input_extension' to
  277.           just `pbm' or `img', omitting the leading `.'.
  278.  
  279. Sun May 24 18:03:09 1992  Karl Berry  (karl@hayley)
  280.  
  281.         * main.c (read_command_line): in -input-format, complain if they
  282.           give an unrecognized input format.
  283.         (main): call set_input_format.
  284.         (set_input_format): new routine to intuit the input format from
  285.           the input filename if they didn't specify.
  286.         (set_{pbm,img}_input_format): new routines.
  287.  
  288. Thu May 21 10:59:23 1992  Karl Berry  (karl@hayley)
  289.  
  290.         * GNUmakefile, version.c, main.c: change `imagetofont' to `imageto'.
  291.  
  292.         * strips.c (write_chars_as_strips): don't bother to initialize
  293.           `gf_row'.
  294.  
  295. Wed May 20 07:34:38 1992  Karl Berry  (karl@hayley)
  296.  
  297.         * strips.h: include image-header.h, not input-img.h.
  298.  
  299.         * main.c (extract_chars): new fn (to shorten main).
  300.         (main): call it.
  301.  
  302.         * main.c (do_epsf): new global.
  303.         (read_command_line): new option `-epsf'.
  304.         (main): call `write_epsf' if set.
  305.         * GNUmakefile (c_and_h): add epsf.
  306.         * epsf.[ch]: new files.
  307.  
  308. Mon May  4 09:27:55 1992  Karl Berry  (karl@hayley)
  309.  
  310.         * main.c (main): don't lose the `<dpi>gf' from the output name.
  311.  
  312.         * strips.c (write_chars_as_strips): add one to `lines_per_char' to
  313.           compensate for roundoff error.
  314.  
  315.         * main.c (verbose): remove this, as it's defined in report.c.
  316.  
  317. Sun May  3 19:31:29 1992  Karl Berry  (karl@hayley)
  318.  
  319.         * strips.c (write_chars_as_strips): use REPORT for the progress
  320.           report.
  321.  
  322. Tue Apr 21 07:44:36 1992  Karl Berry  (karl@hayley)
  323.  
  324.         * extract.c (append_next_image_row): use XTALLOC1.
  325.  
  326. Mon Apr 20 12:53:43 1992  Karl Berry  (karl@hayley)
  327.  
  328.         * main.c (main): simplify logic again for figuring out the output
  329.           filename; remove any suffix from the input filename before it is
  330.           used to make the IFI or output filename.
  331.         (get_image_info): the variable is named `input_rootname' now, not
  332.         `input_basename'.
  333.  
  334. Wed Apr 15 15:26:53 1992  Karl Berry  (karl@hayley)
  335.  
  336.         * main.c (main): `make_output_filename' is now `extend_filename'.
  337.  
  338. Wed Apr  8 12:28:59 1992  Karl Berry  (karl@hayley)
  339.  
  340.         * main.c (do_image_line): don't increment the max_col transition
  341.           in the horizontally concatenated block, either.
  342.  
  343.         * main.c: make most of the globals static.
  344.         * main.h: remove declarations for unneeded globals.
  345.  
  346.         * main.c (debug): add this.
  347.  
  348. Mon Apr  6 16:43:39 1992  Karl Berry  (karl@hayley)
  349.  
  350.         * extract.c (get_image_row): count white rows in image size; free
  351.           the scanline storage after we've copied it.
  352.  
  353. Sun Apr  5 11:46:33 1992  Karl Berry  (karl@hayley)
  354.  
  355.         * main.c (do_image_line): don't increment the transition which we
  356.           use for the maximum column.
  357.  
  358. Sat Apr  4 12:57:15 1992  Karl Berry  (karl@hayley)
  359.  
  360.         * main.c (do_image_line): move test for enough boxes to above
  361.           dealing with the current bitmap, so garbage at the end doesn't
  362.           mess us up.  (from wales@cs.ucla.edu)
  363.  
  364. Wed Apr  1 16:17:18 1992  Karl Berry  (karl at hayley)
  365.  
  366.         * main.c (main): simplify the output name creation code.
  367.  
  368.         * main.c (font_name_extension): rename to `input_extension', and
  369.           don't bother to initialize it.
  370.  
  371. Sat Mar 28 07:48:43 1992  Karl Berry  (karl at hayley)
  372.  
  373.         * Version 0.4.
  374.  
  375.         * Change copyright years to 1992 only.
  376.  
  377. Mon Mar  9 16:46:10 1992  Kathy Hargreaves  (kathy at hayley)
  378.  
  379.         * main.c (main): move setting of dpi to above (and out of)
  380.           do_strips test.
  381.  
  382.         * main.c (main): set output_name_suffix with static strings
  383.           and xmalloc dpi and design_size_str.
  384.  
  385.         * main.c (main): if output_name has no suffix, append either
  386.           output_name_suffix or design_size to its stem before appending
  387.           a suffix.
  388.  
  389. Sat Mar  7 09:55:42 1992  Karl Berry  (karl at hayley)
  390.  
  391.         * GNUmakefile (libraries): define again.
  392.         (files, headers, sources): replace with `c_and_h', etc.
  393.  
  394. Thu Mar  5 06:47:26 1992  Karl Berry  (karl at hayley)
  395.  
  396.         * main.c (output_filename): rename to `output_name', and remove
  397.           the other `output_name' declaration.
  398.  
  399. Wed Mar  4 17:21:32 1992  Kathy Hargreaves  (kathy at hayley)
  400.  
  401.         * main.c (main) changed `output_basename' to `output_name'.
  402.           Deleted add_suffix and add_design_size.
  403.           Added dpi, design_size_str, and output_name_suffix.
  404.           Use make_output_filename to check if output name has a suffix.
  405.           If output_name not given and not doing strips, set design_size_str.
  406.           If doing strips, set output_name_suffix to "sp".
  407.           Always set dpi.
  408.  
  409. Mon Mar  2 12:15:52 1992  Karl Berry  (karl at hayley)
  410.  
  411.         * main.c (main): decrease nchars_per_line to 11.
  412.  
  413. Sun Mar  1 13:03:23 1992  Karl Berry  (karl at hayley)
  414.  
  415.         * GNUmakefile (files): remove bb-outline.
  416.  
  417.         * GNUmakefile (need_pbm_library): define.
  418.         (sources): remove the PBM stuff.
  419.  
  420. Fri Feb 28 07:53:09 1992  Karl Berry  (karl at hayley)
  421.  
  422.         * extract.c (image_row_transitions): new routine.
  423.         (some_black_to_all_white_row): call it after getting the image row.
  424.         (append_next_image_row): call it after appending.
  425.         (get_image_row): do not compute the transitions here.
  426.  
  427.         * main.c (bitmap_to_gf_char): the GF min_row is the depth, the GF
  428.           max_row is the height; we had it the other way around.  Also,
  429.           `row_baseline' is one-origin, but char rows are 0-origin.
  430.  
  431. Tue Feb 25 14:40:54 1992  Karl Berry  (karl at hayley)
  432.  
  433.         * main.c (main): decrease number of chars reported without
  434.           guidelines to 12.
  435.  
  436.         * input-pbm.c (pbm_get_scanline): declare the test character for
  437.           EOF as int, not char.  Also, print the scanlines if
  438.           trace_scanlines is set.
  439.         * main.c (trace_scanlines): new global.
  440.           (read_command_line): new option.
  441.  
  442.         * bitmap2.c (bitmap_vconcat): put one blank row between the
  443.           bitmaps, to compensate for what some_black... removed.
  444.  
  445.         * extract.c (get_image_row): don't keep leading white rows if
  446.           there weren't any; always append scanline, even if there were.
  447.  
  448. Fri Jan 31 17:08:38 1992  Karl Berry  (karl at hayley)
  449.  
  450.         * main.c (read_command_line): declare `option_index' (for new
  451.           getopt).
  452.  
  453. Tue Jan 21 11:47:26 1992  Kathy Hargreaves  (kathy at hayley)
  454.  
  455.         * main.c (main): wasn't putting the suffix on the gf name when
  456.           gave an output filename without a suffix because was finding the
  457.           dot in the pathname `../fonts'.
  458.  
  459.         * main.c (bitmap_to_gf_char): were switching the minimum and
  460.           maximum rows when assigning to the gf char.
  461.  
  462.         * main.c (main): malloc gf_name more precisely.
  463.  
  464.         * main.c (bitmap_to_gf_char): fixed calculation of gf char's rows.
  465.           (main): changed how build the gf output filename: if the user
  466.           specifies an output file, don't ever add on a design size and don't
  467.           add a suffix if there's one already.
  468.  
  469.         * main.c (bitmap_to_gf_char): now print gf character's (baseline-
  470.           adjusted) row instead of the bounding box's (unadjusted) ones.
  471.  
  472. Mon Jan 20 14:46:16 1992  Kathy Hargreaves  (kathy at hayley)
  473.  
  474.         * main.c (main): added variable `output_basename' so user could
  475.           specify an output file basename.  
  476.           (read_command_line): Added `output-file' option.
  477.  
  478. Tue Jan 14 13:14:46 1992  Kathy Hargreaves  (kathy at hayley)
  479.  
  480.         * main.c (get_image_info): when call libfile_start with
  481.           info_filename, specify "ifi" as the (now-default) suffix.
  482.  
  483.         * main.c [USAGE] (info-file): use <filename>.ifi if <filename>
  484.           doesn't have a dotted suffix; otherwise use <filename>.
  485.  
  486. Thu Jan  9 08:29:52 1992  Karl Berry  (karl at hayley)
  487.  
  488.         * main.c (read_command_line): rename `scan_integer_list' to
  489.           `scan_unsigned_list'.
  490.  
  491.         * *.c: do not include global.h.
  492.  
  493.         * *.h: remove #pragma once.
  494.  
  495. Wed Jan  8 15:28:00 1992  Karl Berry  (karl at hayley)
  496.  
  497.         * update copyright messages.
  498.  
  499.         * change `allocate to `xmalloc', `reallocate' to `xrealloc', and
  500.           `string_copy' to `strdup'.
  501.  
  502. Tue Jul 30 13:18:48 1991  Karl Berry  (karl at ra.cs.umb.edu)
  503.  
  504.         * Version 0.3.
  505.  
  506. Fri Jul 26 07:02:28 1991  Karl Berry  (karl at hayley)
  507.  
  508.         * main.c (get_image_info): read the left and side bearings from
  509.           the IFI file, if present.
  510.         (bitmap_to_gf_char): use these numbers.
  511.         * image-char.h (image_char_type): new members `lsb' and `rsb'.
  512.         (IMAGE_CHAR_{L,R}SB): new accessor macros.
  513.  
  514. Wed Jul 24 06:07:11 1991  Karl Berry  (karl at hayley)
  515.  
  516.         * bitmap2.c (bitmap_concat): the height of the result is the
  517.           height of one, not twice that.
  518.  
  519.         * main.c (do_image_line): rename `concat_bitmaps' to
  520.           `bitmap_concat'.
  521.         * GNUmakefile (files): new file `bitmap2'.
  522.  
  523.         * main.c (do_image_line): return a boolean saying if we need
  524.           another image row.
  525.         (main): if `do_image_line' fails, read more of the image.
  526.         * extract.h (append_next_image_row): declare new routine.
  527.         * extract.c (append_next_image_row): define it.
  528.         (get_image_row): new routine.
  529.         (some_black_to_all_white_row): call `get_image_row'.
  530.  
  531.         * make-gsfont.ps (octal-value): prepend 0 to the character code.
  532.  
  533.         * extract.c (some_black_to_all_white_row): use xcalloc to initialize
  534.           `or_of_all', not allocate.  We need it to be all zeroes
  535.           initially.
  536.  
  537.         * main.c, version.c: change `imgtogf' to `imagetofont'.
  538.  
  539.         * make-gsfont.ps: remove all the if-verbose's.
  540.  
  541.         * main.c: doc fix.
  542.  
  543. Mon Jul 22 07:54:42 1991  Karl Berry  (karl at hayley)
  544.  
  545.         * make-gsfont.ps (output-encoding): set /output-encoding to the
  546.           dictionary.
  547.  
  548.         * main.c: output ``imagetofont'' as our name in the GF file header,
  549.           instead of ``IMGtoGF''.
  550.  
  551.         * make-gsfont.ps (print-char-dimensions-if-verbose): lose the
  552.           `-if-verbose'.
  553.  
  554.         * make-gsfont.ps (octal-value): `get' the character name, don't
  555.           `load' it, so we find it in the right dictionary.
  556.  
  557.         * libpbm1.c: declare parms, external functions to avoid warnings.
  558.  
  559. Sat Jun 15 09:50:46 1991  Karl Berry  (karl at hayley)
  560.  
  561.         * input-*.c: change `checked_' to `x'.
  562.  
  563. Thu Jun  6 07:29:06 1991  Karl Berry  (karl at hayley)
  564.  
  565.         * All files: change to version 2 of the GPL.
  566.  
  567. Sat Jun  1 15:18:11 1991  Kathy Hargreaves  (kathy at hayley)
  568.  
  569.         * main.c (get_image_info): Now build an info filename if the
  570.           variable info_filename *is* NULL, not when it's not.
  571.           (USAGE): Deleted that resolution was set only for pbm input.
  572.           Stated that input-format is required and shortened comment.
  573.  
  574. Fri May 31 14:30:01 1991  Kathy Hargreaves  (kathy at hayley)
  575.  
  576.         * imgtogf: Moved directory to `imagetofont'.
  577.  
  578.         * GNUmakefile: Changed program name from `imgtogf' to `imagetofont'.
  579.     
  580.         * main.c (get_image_info): Make default image info file be
  581.           <fontname>.ifi instead of imginf.<fontname>.
  582.  
  583.         * main.[hc], input-*.[hc]: *_get_header now don't return a
  584.           header but rather modify the global header in main.c.  Changed
  585.           all references to `[img, pbm]_header->' to `image_header.'.
  586.            
  587.         * main.c, image-char.[hc]: Replaced all instances of `img_char'
  588.           with `image_char'.
  589.  
  590.         * image-char.[hc]: Moved from img-char.[hc].
  591.  
  592.         * main.h (image_header): Made this visible to the outside.
  593.  
  594.         * input-[pbm, img].c ([pbm, img]_get_header): Set h to
  595.           image_header in main.c. #include main.h.
  596.  
  597.         * main.c (read_command_line): Cast the assignment to
  598.           image_header.hres to type two_bytes.
  599.          
  600.         * image-header.h, input-*.[hc], main.[hc]: Changed `img-header.h'
  601.           to `image-header.h'.
  602.  
  603.         * main.c: Replaced all instances of `img_header*' with
  604.           `image_header*'.  Moved `img_' and `pbm_' to the front of the
  605.           function names.
  606.  
  607.         * img-header.h: Moved to image_header.h and replaced all
  608.           instances of `img_header*' with `image_header*'.
  609.  
  610.         * input-img.[hc] (*_img_*): Moved `img_' to the front of the
  611.           variable names.  Replaced instances of `img_header_type' with
  612.           `image_header_type'. 
  613.  
  614.         * input-pbm.[hc] (*_pbm_*): Moved `pbm_' to the front of the
  615.           variable names.
  616.  
  617.         * extract.c, strips.c: (ptr_get_scanline): Removed `ptr_' from in
  618.           front of this function's name and replaced it with `image'.
  619.           Replaced instances of `img_header*' with `image_header*', if any.
  620.  
  621.         * main.h (ptr_open_input_file, ptr_close_input_file, ptr_get_header,
  622.           ptr_get_scanline): Removed `ptr_' from the front of all these
  623.           names and replaced it with `image'.  Replaced `img_header_type'
  624.           with `image_header_type'.
  625.  
  626.         * main.c (ptr_open_input_file, ptr_close_input_file, ptr_get_header,
  627.           ptr_get_scanline): Moved and set all to NULL.
  628.           Removed `ptr_' from the front of all these names and replaced it
  629.           with `image'.
  630.           (read_command_line): Remove "img-input-format" from option
  631.           structure. 
  632.           Removed variable need_resolutions, as don't need it.
  633.           Force them to specify the input format on the command line
  634.           rather than having a default.
  635.           
  636. Wed May 29 16:19:57 1991  Kathy Hargreaves  (kathy at hayley)
  637.  
  638.         * input-pbm.c (line_in_bytes): Deleted this global variable, as
  639.           don't need it.  (pbm_readpbmrow reads right into line_in_bits in
  640.           get_pbm_scanline.)
  641.  
  642.         * pbm.h: Took out #include for types.h.
  643.  
  644.         * input-pbm.c (get_pbm_scanline): Check if at EOF before calling
  645.           pbm_readpbmrow. 
  646.  
  647.         * libpbm2.c (pbm_readpbmrow): Restored to original; can test if at
  648.           EOF in the wrapper get_pbm_scanline.
  649.           Took out #include for types.h.
  650.  
  651.         * input-pbm.c (get_pbm_scanline): Hooked up to libpbm2.c routine.
  652.     
  653.         * main.c (read_command_line): Combined some options and changed
  654.           their names and their input.
  655.           Make input-format take an argument.
  656.  
  657. Mon May 27 14:52:45 1991  Kathy Hargreaves  (kathy at hayley)
  658.  
  659.         * main.c (read_commandline): If both resolutions are missing and
  660.           are required on the commandline, print that they both are, not
  661.           just that the horizontal one is.
  662.  
  663.         * bb-outline.c (is_outline_edge): Changed VALID_LOCATION to
  664.           BITMAP_VALID_PIXEL. 
  665.           
  666.         * pbmplus.h: Commented out malloc, etc. declarations.
  667.  
  668.         * libpbm2.c (pbmreadpbmrow): Make it return a boolean instead of a
  669.           void, so will fit into our code.
  670.           Make it return false instead of an error message.
  671.  
  672.         * pbm.h (top): pbmplus.h is in the current directory, so take out
  673.           the `../' before it in the #include.
  674.           (pbmreadpbmrow): Make it return a boolean instead of a void, so
  675.           will fit into our code.
  676.  
  677.         * extract.c (top): Now #include input-pbm.h.
  678.           (some_black_to_all_white_row): Changed all instances of
  679.           get_img_scanline to get_scanline.
  680.           
  681.         * input-img.c (top): Now #include img-header.h.
  682.           (get_img_header): Got rid of variable format, as now put that in
  683.           the header.
  684.  
  685.         * main.c: (open_input_file, close_input_file, get_header, 
  686.           get_scanline): Declared these pointers to functions so could set
  687.           them to a set of routines belonging to the type of input we're
  688.           using.  Set them to .pbm input format routines as a default.
  689.           (font_name_extension): Added this static variable so could set
  690.           it when get read the input format on the command line.  Set to
  691.           `.pbm' by default.
  692.           (main): Initialize img_header to all zeros so will know if the
  693.           user set them using the command line.
  694.           Changed call to open_img_input_file to open_input_file and
  695.           concat font_name_extension instead of ".img" for the argument.
  696.           Changed some comments.
  697.           Changed the call to get_img_header to get_header.
  698.           Changed the call to close_img_input_file to close_input_file.
  699.           (USAGE): Added horz-resolution, img-input-format,
  700.           pbm-input-format, and vert-resolution.
  701.           (read_command_line): Added boolean variable need_resolutions to
  702.           keep track of whether or not the user needs to input the
  703.           horizontal and vertical resolutions on the command line.
  704.           Added horz-resolution, img-input-format, pbm-input-format, and
  705.           vert-resolution to the option variable long_options.
  706.           If the argument is horz-resolution or vert-resolution, then set
  707.           the appropriate field in the header.
  708.           If the argument if img-input-format or pbm-input-format, the set
  709.           the input function pointers in main to the appropriate set of
  710.           functions that belong to the input format.  If the argument is
  711.           the former, then set needs_resolution to false; if it's the latter,
  712.           set it to true. 
  713.           If the user wants .pbm input format, then check that the header's 
  714.           resolutions are set; if not, issue an error message and exit. 
  715.           
  716.         * main.h (open_input_file, close_input_file, get_header, get_scanline):
  717.           Added these function pointer declarations so extract.c and strips.c
  718.           could use them.
  719.  
  720.         * strips.c (top): Now #include input-pbm.h.
  721.           (write_chars_as_strips): Changed the call to get_img_scanline to
  722.           a call to get_scanline.
  723.  
  724. Sat Apr 13 17:13:51 1991  Karl Berry  (karl at hayley)
  725.  
  726.         * main.c (get_image_info): use the libfile routines to read the
  727.           image info files.
  728.  
  729.         * main.c, input-img.c: new includes from the library
  730.           rearrangements.
  731.  
  732. Mon Feb 25 16:32:45 1991  Karl Berry  (karl at hayley)
  733.  
  734.         * main.c, strips.c: use `gf_...' instead of `..._gf_...'.
  735.  
  736. Sun Feb 17 09:39:20 1991  Karl Berry  (karl at hayley)
  737.  
  738.         * *.c: include config.h.
  739.  
  740. Tue Jan 22 15:43:19 1991  Karl Berry  (karl at hayley)
  741.  
  742.         * extract.[ch] (extract_subimage): move to kbase.
  743.  
  744. Thu Jan 17 10:32:09 1991  Karl Berry  (karl at hayley)
  745.  
  746.         * main.c (main): don't put the day of the week in the font comment.
  747.  
  748. Tue Oct  9 09:07:02 1990  Karl Berry  (karl at hayley)
  749.  
  750.         * main.c (scan_baseline_list): move to kbase.
  751.         (baseline_list): make a vector of ints, not unsigneds.
  752.         (main): test for the end of the baseline list being -1, not 0.
  753.  
  754. Mon Oct  8 16:37:07 1990  Karl Berry  (karl at hayley)
  755.  
  756.         * main.c: #include cmdline.h.
  757.         (read_command_line): call FINISH_COMMAND_LINE.
  758.  
  759. Sun Sep 30 09:15:25 1990  Karl Berry  (karl at hayley)
  760.  
  761.         * main.c (do_image_line): don't give a report when we read part of
  762.         the line, after all.
  763.  
  764. Fri Sep 28 13:47:15 1990  Karl Berry  (karl at hayley)
  765.  
  766.         * main.c (scan_integer_list): use strtok, instead of doing the
  767.         work ourselves.
  768.  
  769. Sat Sep 22 06:16:49 1990  Karl Berry  (karl at hayley)
  770.  
  771.         * main.c (output_chars): don't increment `current_char' if we've
  772.         already seen the box.
  773.  
  774. Fri Sep 21 08:40:49 1990  Karl Berry  (karl at hayley)
  775.  
  776.         * img-char.h (img_char_type): new element, `alternating'.
  777.         (IMG_CHAR_BB_ALTERNATING): macro to access it.
  778.         * main.c (get_image_info): if the bb count is negative, set
  779.         `alternating' (and make it positive).
  780.         (output_chars): handle the bounding boxes alternating.
  781.  
  782.         * main.c (do_image_line): give a progress report when we read part
  783.         of the line.
  784.  
  785.         * main.c (read_command_line): return NULL at the end; the POSIX
  786.         include files don't declare `exit' as volatile, more's the pity.
  787.         * bb-output.c (is_outline_edge): return false at the end, for the
  788.         same reason.
  789.  
  790. Sun Sep 16 11:13:43 1990  Karl Berry  (karl at hayley)
  791.  
  792.         * main.c: include "getopt.h" instead of <getopt.h>.
  793.  
  794.         * main.c (read_command_line): change call of PARSE_CHAR_CODE to
  795.         xparse_char_code.
  796.  
  797.         * main.c (main): make the default info filename `imginf.<name>',
  798.         not `imginfo.<name>'.
  799.  
  800. Sat Sep  8 10:06:19 1990  Karl Berry  (karl at hayley)
  801.  
  802.         * main.c (read_command_line): remove any suffix on the font name
  803.         before returning it.
  804.  
  805.         * main.c (read_command_line): use GET_RANGE.
  806.  
  807.         * main.c (get_image_info): use PARSE_CHAR_CODE to get the
  808.         character code from the file.
  809.  
  810. Thu Sep  6 06:16:29 1990  Karl Berry  (karl at hayley)
  811.  
  812.         * main.c (scan_integer_list): doc fix.
  813.  
  814. Wed Sep  5 06:19:53 1990  Karl Berry  (karl at hayley)
  815.  
  816.         * main.c (USAGE): doc fix in -range.
  817.  
  818. Tue Sep  4 09:33:49 1990  Karl Berry  (karl at hayley)
  819.  
  820.         * main.c (do_image_line): pass the current character to
  821.         output_chars, not the current box count.
  822.  
  823.         * extract.c (REPORT_SCANLINE): output to stderr instead of stdout.
  824.  
  825.         * main.c (get_image_info): always assign to the character code and
  826.         omit fields.
  827.  
  828. Mon Sep  3 16:57:02 1990  Karl Berry  (karl at hayley)
  829.  
  830.         * main.c (get_image_info): use NULL in subsequent calls to strtok.
  831.  
  832.         * main.c (get_encoding): replace with get_image_info; change
  833.         callers.
  834.         * img-char.[ch]: new files to support the data structure.
  835.  
  836. Thu Aug 16 08:00:19 1990  Karl Berry  (karl at hayley)
  837.  
  838.         * bb-outline.c (free_bounding_box_list): check if the list is
  839.         allocated before freeing it.
  840.  
  841.         * main.c (do_image_line): only say that we've read too many boxes
  842.         once.
  843.  
  844. Wed Aug  8 08:06:53 1990  Karl Berry  (karl at hayley)
  845.  
  846.         * main.c (read_command_line): change `encoding-file' to
  847.         `info-file'.
  848.  
  849. Tue Aug  7 08:53:13 1990  Karl Berry  (karl at hayley)
  850.  
  851.         * main.c (main): use the basename of the image filename to
  852.         construct the output name, instead of the full name.
  853.  
  854.         * main.c (USAGE): explain `-baselines' better.
  855.  
  856. Thu Jul 26 06:54:56 1990  Karl Berry  (karl at hayley)
  857.  
  858.         * extract.c (find_transitions): move to kbase.
  859.  
  860. Tue Jul 24 13:09:38 1990  Karl Berry  (karl at hayley)
  861.  
  862.         * main.c: don't include time.h.
  863.  
  864. Thu Jul 19 15:22:29 1990  Karl Berry  (karl at aten)
  865.  
  866.         * main.c (main): don't dereference baseline_list if it's null.
  867.  
  868. Mon Jul 16 08:56:41 1990  Karl Berry  (karl at hayley)
  869.  
  870.         * main.c (clean_bitmap): only print the `. ' if we're printing the
  871.         cleaning info.
  872.  
  873. Sun Jul 15 08:27:52 1990  Karl Berry  (karl at hayley)
  874.  
  875.         * bb-outline.c (append_bounding_box_list): don't change anything
  876.         if we're appending a list of length zero.
  877.  
  878. Fri Jul 13 11:35:15 1990  Karl Berry  (karl at hayley)
  879.  
  880.         * main.c (clean_bitmap): also potentially clean bounding boxes on
  881.         the bottom edge.
  882.  
  883.         * main.c (SET_EDGES): make coordinates relative to the bitmap of
  884.         the character.
  885.  
  886.         * main.c (clean_bitmap): only test the gray value for bounding
  887.         boxes that are on the edge.
  888.  
  889.         * main.c (output_chars): return the number of characters actually
  890.         output, omitting the ones out of range.
  891.         
  892.         * main.c (clean_bitmap): print gray values for the bounding boxes
  893.         if requested.
  894.         (read_command_line): new option, `print_clean_info'.
  895.  
  896. Thu Jul 12 06:08:33 1990  Karl Berry  (karl at hayley)
  897.  
  898.         * extract.c (some_black_to_all_white_row): don't output a newline
  899.         after reading the scanlines. 
  900.  
  901.         * main.h: new file.
  902.         * extract.c: include it, remove declaration of verbose.
  903.  
  904.         * strips.[ch]: new files.
  905.         * main.c (main): cut the image into strips if requested.
  906.         (read_command_line): new option `strips'.
  907.  
  908.         * extract.c (find_transitions): new routine.
  909.         (some_black_to_all_white_row): call it, at the end, with a new
  910.         variable that is the logical or of all the rows we read.
  911.         (some_black_to_all_white_column, found_color_in_column): these
  912.         routines aren't needed any more.
  913.         * main.c (do_image_line): use the transition vector to set
  914.         `char_bitmap'.
  915.  
  916.         * main.c (scan_integer_list): increment length after checking the
  917.         exit condition.
  918.  
  919.         * main.c (do_image_line): new routine, consisting of a lot of the
  920.         main loop.
  921.  
  922.         * main.c (bitmap_to_gf_char): determine the baseline.
  923.         (read_command_line): new option `baselines' to set the baselines.
  924.         (scan_integer_list): new routine.
  925.  
  926.         * extract.c (found_color_in_column): start halfway down the
  927.         bitmap.
  928.  
  929. Wed Jul 11 06:19:51 1990  Karl Berry  (karl at hayley)
  930.  
  931.         * main.c (bitmap_to_gf_char): take another argument, the character
  932.         code, to consolidate where the GF char is set.
  933.  
  934.         * main.c (nchars_per_line): new static to say how many characters
  935.         we can report on per line; different for `print_guidelines' being
  936.         set and not set.
  937.  
  938.         * main.c (print_guidelines): new global.
  939.         (read_command_line): new option to set it.
  940.         (bitmap_to_gf_char): print the row numbers if it's set.
  941.  
  942.         * bb-outline.c (find_outline_bbs): take two additional arguments:
  943.         column numbers between which we don't look.
  944.         * bb-outline.h (find_outline_bbs): change the declaration.
  945.         * main.c (main), (clean_bitmap): change the calls.
  946.  
  947.         * bb-outline.c (append_bounding_box_list): reallocate based on the
  948.         element size, not the list size.
  949.  
  950.         * bb-outline.c (set_bounding_box_list_offset): replace by
  951.         `offset_bounding_box_list'.
  952.         (append_bb): don't offset the bounding boxes as they come in.
  953.         * bb-outline.h (set_bounding_box_list_offset): likewise.
  954.         * main.c (main): change call.
  955.  
  956.         * main.c (output_chars): set char_code to *next_code at the bottom
  957.         of the loop, and increment next_code.
  958.  
  959. Tue Jul 10 06:10:05 1990  Karl Berry  (karl at hayley)
  960.  
  961.         * bb-outline.c (set_bounding_box_list_offset): new routine.
  962.         (append_bb): move the bounding box to the right by the offset.
  963.         * bb-outline.h (set_bounding_box_list_offset): declare it.
  964.  
  965.         * main.c (get_char_code): rename to get_encoding, and read the
  966.         whole file.
  967.  
  968.         * bb-outline.h (init_bounding_box_list, append_bounding_box_list):
  969.         declare new routines.
  970.         bb-outline.c (same): define them.
  971.  
  972. Mon Jul  9 08:10:20 1990  Karl Berry  (karl at hayley)
  973.  
  974.         * main.c (main): don't split each line at white columns.
  975.  
  976.         * extract.c (clean_bitmap): set verbose to false before calling
  977.         find_outline_bbs.
  978.  
  979.         * main.c (get_char_code): make sure we actually find a character
  980.         code.
  981.  
  982.         * main.c (output_chars): don't extract or clean anything if the
  983.         character isn't within range.
  984.  
  985.         * extract.c (REPORT_SCANLINE): report every 100 scanlines.
  986.  
  987.         * main.c (output_chars): only give the status report if we
  988.         actually output the character.
  989.  
  990. Sat Jul  7 10:43:18 1990  Karl Berry  (karl at hayley)
  991.  
  992.         * bb-outline.c (append_bb): changed MAX_ROW, instead of MAX_COL.
  993.  
  994.         * main.c (clean_bitmap): new routine.
  995.         (output_gf_chars): call it.
  996.         * bb-outline.c (find_outline_bbs): take an additional parameter to
  997.         determine whether to look for inside outlines or not.
  998.  
  999.         * extract.c (REPORT_SCANLINE): report every 50 scanlines, instead
  1000.         of every 10.
  1001.         
  1002.         * bb-outline.c (find_outline_bbs): look for outlines in
  1003.         column-major order, instead of row-major.
  1004.  
  1005.